package com.jmu.medicineknows.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jmu.medicineknows.entity.Role;
import com.jmu.medicineknows.entity.RoleMenu;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    int deleteRoleMenu(RoleMenu roleMenu);

    List<Integer> getMenuByRoleId(RoleMenu roleMenu);

    int insertRoleMenu(RoleMenu roleMenu);
}
